﻿using System;
using System.Windows;
using Microsoft.Phone.Controls;

namespace MyDeeWeibo.Classes
{
    public class DeeShare : DeeSendBase
    {
        public override void Show()
        {
            (Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/PageViews/MySendView.xaml", UriKind.Relative));
            MySendView.sdkSendBase = this;
        }
    }

    public class SdkCreateCom : DeeSendBase
    {
        public override void Show()
        {
            (Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/PageViews/MyCommentView.xaml", UriKind.Relative));
            MyCommentView.SdkCommentBase = this;
        }
    }

    public class SdkCreateRep : DeeSendBase
    {
        public override void Show()
        {
            (Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/PageViews/MyRepostView.xaml", UriKind.Relative));
            MyRepostView.SdkCommentBase = this;
        }
    }

    public class SdkComReply : DeeSendBase
    {
        public override void Show()
        {
            (Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/PageViews/MyReplyView.xaml", UriKind.Relative));
            MyReplyView.SdkCommentReply = this;
        }
    }
}
